/*
* @Author: dengjiayao
* @Date:   2017-07-12 09:16:17
* @Last Modified by:   dengjiayao
* @Last Modified time: 2017-07-12 09:17:12
*/

import Vue from '../vue'
import store from '../vuex/store'
import { alert } from 'vue-strap'
import loginCheck from '../util/login-check'

import FailList from './fail-list/fail-list.vue'

new Vue({
  el: 'body',
  components: {
    'vue-alert-msg': alert,
    'vue-fail-list': FailList
  },
  store,
  created() {
    loginCheck(this)
  },
  vuex: {
    getters: {
      msg: state => state.msg
    }
  }
})
